package com.letoken.platform.repo.app.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者
 * @since 2023-08-04
 */
@Getter
@Setter
@TableName("app_fund_detail")
@ApiModel(value = "AppFundDetail对象", description = "")
public class AppFundDetail extends Model<AppFundDetail> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("每天释放数量")
    @TableField("amount")
    private BigDecimal amount;

   // @ApiModelProperty("1.每天释放 2。分红   3。加权 4.发型 5。赎回 6.赠送 7.自动复投赠送")
   @ApiModelProperty("1.每天释放 2。分红   3.赎回 4.质押")
    @TableField("type")
    private Integer type;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("state")
    private Integer state;

    @TableField("title")
    private String title;
    @TableField("remark")
    private String remark;



    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
